import React from 'react'
import { useHistory, useLocation } from 'react-router'

export default function Home () {
    const Location = useLocation()

    console.log(Location)
    return (
        <div>Home</div>
    )
}


// PureComponent 内置性能提升组件
// export default class Home extends React.PureComponent {
//     render () {
//         console.log(this.props)
//         return (

//             <div> home</div>
//         )
//     }

// }

